#pragma once

//#include "JOB_DEFINE.h"

#include "../Framework/Framework.h"
#include "../Framework/Win32Base.h"
#include "commctrl.h"

extern sSMCInfo				g_SMCInfo;

extern BOOL ConversionANSI(const std::wstring& wstrOrg, OUT std::string& strConverted)
{
    char szTemp[8192] = {0,};

    int nLength = WideCharToMultiByte(CP_ACP, 0, wstrOrg.c_str(), static_cast<int>(wstrOrg.length()), szTemp, sizeof(szTemp), NULL, NULL);

    if ( nLength <= 0 )
    {
        return FALSE;
    }

    strConverted.assign( szTemp );

    return TRUE;
}